Xbasic
*FROM_HEXN Function
Syntax
Result as N = *FROM_HEXN(C hex)
Arguments
- Result
The integer equivalent of the hexadecimal number.
- hex
A character string representation of a hexadecimal number.
Description
Convert hexadecimal data to numeric data.
Discussion
The *FROM_HEXN() function converts a hexadecimal number to a decimal number.
Example
? *from_hexn("FF") = 255 ? *from_hexn("0000007B") = 123
See Also